package com.gx.domain.oss;

import java.io.Serializable;

public class PutFileRequest implements Serializable {
    private String bucket;
    private String fileName;        // 文件名
    private Object inputStream;
    private String type;
    private String policy;

    public String getPolicy() {
        return policy;
    }

    public void setPolicy(String policy) {
        this.policy = policy;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getBucket() {
        return bucket;
    }

    public void setBucket(String bucket) {
        this.bucket = bucket;
    }

    public Object getInputStream() {
        return inputStream;
    }

    public void setInputStream(Object inputStream) {
        this.inputStream = inputStream;
    }

    public String getFileName() {
        return fileName;
    }

    public void setFileName(String fileName) {
        this.fileName = fileName;
    }

    @Override
    public String toString() {
        return "PutFileRequest{" +
                "bucket='" + bucket + '\'' +
                ", fileName='" + fileName + '\'' +
                ", inputStream=" + inputStream +
                ", type='" + type + '\'' +
                ", policy='" + policy + '\'' +
                '}';
    }
}
